<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>个人设置</title>
</head>
<body class="hold-transition skin-black sidebar-mini">
<div th:replace="common/fragment :: link"></div>
<div class="wrapper">
    <div th:replace="common/fragment :: navbar"></div>
    <div th:replace="common/fragment :: menu"></div>
    <div class="content-wrapper">
        <section class="content-header">
            <h1>个人设置</h1>
        </section>
        <section class="content">
            <div class="box">
                <!--编写内容-->
                <div class="box-body table-responsive ">
                    <table class="table table-hover table-bordered table-striped">
                        <form action="/user/edit" method="post">
                            <input type="hidden" name="id" th:value="${session.EMPLOYEE_IN_SESSION.id}">
                            <div class="modal-body">
                                <div class="form-group">
                                    <label for="name">用户名</label>
                                    <input type="text"  class="form-control" name="name" id="name"  disabled="true"  th:placeholder="${session.EMPLOYEE_IN_SESSION.name}">
                                </div>
                                <div class="form-group">
                                    <label for="email">邮箱</label>
                                    <input type="text" class="form-control" name="email" id="email"  placeholder="请验证邮箱">
                                </div>
                                <div class="form-group">
                                    <label for="oldpassword">旧密码</label>
                                    <input type="text" class="form-control" name="oldpassword" id="oldpassword"  placeholder="请验证旧密码">
                                </div>
                                <div class="form-group">
                                    <label for="password">新密码</label>
                                    <input type="text" class="form-control" name="password" id="password" placeholder="请输入新密码">
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button type="submit" class="btn btn-primary" id="user-edit">修改</button>
                                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                            </div>
                        </form>
                    </table>

                </div>
            </div>
        </section>
    </div>
    <div th:replace="common/fragment :: footer"></div>
</div>


<script>
</script>
</body>
</html>